<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withdraw_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdraw_sn" data-rule="required" class="form-control" name="row[withdraw_sn]" type="text" value="{$row.withdraw_sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withdrawtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdrawtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[withdrawtime]" type="text" value="{:$row.withdrawtime?datetime($row.withdrawtime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bin_origin')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-bin_origin" data-rule="required" class="form-control selectpicker" name="row[bin_origin]">
                {foreach name="binOriginList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.bin_origin"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bin_company_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bin_company_id" data-rule="required" data-source="bin/company/index" class="form-control selectpage" name="row[bin_company_id]" type="text" value="{$row.bin_company_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Withdraw_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-withdraw_number" data-rule="required" class="form-control" name="row[withdraw_number]" type="number" value="{$row.withdraw_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Return_yard_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-return_yard_id" data-rule="required" data-source="return/yard/index" class="form-control selectpage" name="row[return_yard_id]" type="text" value="{$row.return_yard_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50">{$row.remark|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
